#ifndef CFGDIALOG_H
#define CFGDIALOG_H

#include <QDialog>
#include "ui_cameraconfig.h"
#include "mainwindow.h"

class CfgDialog : public QDialog
{
	Q_OBJECT

public:
	CfgDialog(QWidget *parent = Q_NULLPTR);
	~CfgDialog();

	void hookMainWindow(MainWindow *w);

	Ui::CfgDialog ui;

	MainWindow *p;

public slots:
	void saveConfig();

private:

};

#endif // CFGDIALOG_H
